package com.items.blog.utils;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.util.Date;

public class DateUtils {
    public static LocalDateTime formatDate(Date date){
        LocalDateTime dateTime = LocalDateTime.now(); // get the current date and time
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
        return LocalDateTime.now();
    }
}
